package com.fly.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

//@Controller
@RestController
public class HelloController {
    @GetMapping("/hello")
    public Object hello(){
        System.out.println("Hello SpringBoot!");
        return "Hello SpringBoot!";
    }


}
